Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:19
erlang
0890-docgen-Print-edoc-generate-error-reason-on...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0890-docgen-Print-edoc-generate-error-reason-on-crash.patch of Package erlang
From 2b503bc964403fb413d0c035a5cfa4fdc6df0dd1 Mon Sep 17 00:00:00 2001 From: Lukas Larsson <lukas@erlang.org> Date: Thu, 2 Apr 2020 11:24:17 +0200 Subject: [PATCH 08/29] docgen: Print edoc generate error reason on crash --- lib/erl_docgen/priv/bin/specs_gen.escript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/erl_docgen/priv/bin/specs_gen.escript b/lib/erl_docgen/priv/bin/specs_gen.escript index 96b63aa667..5b75a83a7e 100644 --- a/lib/erl_docgen/priv/bin/specs_gen.escript +++ b/lib/erl_docgen/priv/bin/specs_gen.escript @@ -89,8 +89,10 @@ call_edoc(FileSpec, InclFs, Dir) -> ok = write_text(Text, File, Dir), rename(Dir, File) catch - _:_ -> + E:R -> + ST = erlang:get_stacktrace(), io:format("EDoc could not process file '~s'\n", [File]), + io:format("~p:~p ~p\n", [E,R,ST]), clean_up(Dir), halt(3) end. -- 2.16.4
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor