Intevation / downloadclient

GDI-BY DownloadClient
Apache License 2.0
1 stars 4 forks source link

Warning popup #80

Closed jsaalfeld closed 7 years ago

s-l-teichmann commented 7 years ago

Have you tried to use it in headless mode?

dmth commented 7 years ago

No, I've not.

s-l-teichmann commented 7 years ago

Please do! :-)

dmth commented 7 years ago

Is it worth it? ;)

s-l-teichmann commented 7 years ago

The headless codepath is effected. Therefore I would expect that this should be tested, too.

dmth commented 7 years ago

Tested. Seems to work, but JobExecutionException should be catched.

s-l-teichmann commented 7 years ago

JobExecutionException are always caught by the Processor. In case of the headless mode they will be sent to the log [1].

[1] https://github.com/Intevation/downloadclient/blob/master/src/main/java/de/bayern/gdi/Headless.java#L52