|
@@ -162,9 +162,8 @@ compile(App, Rest, Path) ->
|
|
|
erlang:put(App, updated),
|
|
|
{M, F} = application:get_env(active, compile, {mad_compile, compile}),
|
|
|
M:F(App, Path)
|
|
|
- catch E:R ->
|
|
|
- io:format("~p", [erlang:get_stacktrace()]),
|
|
|
- io:format("Catch: ~p:~p", [E, R])
|
|
|
+ catch E:R:S ->
|
|
|
+ io:format("Catch: ~p:~p~n~p~n", [E, R, S])
|
|
|
end
|
|
|
end.
|
|
|
|