Skip to content
Snippets Groups Projects
Commit a0500f56 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Merge branch 'grubba/image-ps-diag' into 8.0

* grubba/image-ps-diag:
  Image.PS: Improved diagnostics on ghostscript failure.
parents c9048172 8ae04ad5
No related branches found
No related tags found
No related merge requests found
...@@ -205,7 +205,8 @@ object decode( string data, mapping|void options ) ...@@ -205,7 +205,8 @@ object decode( string data, mapping|void options )
be->remove_call_out(co); be->remove_call_out(co);
int ret_code = pid->wait(); int ret_code = pid->wait();
if(ret_code) if(ret_code)
error("Ghostscript failed with exit code: %O:\n%s\n", ret_code, output); error("Ghostscript failed with exit code: %O:\n%O\n%s\n",
ret_code, command, output);
object i= Image.PNM.decode( output ); object i= Image.PNM.decode( output );
if (data) { if (data) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment