mirror of
https://gitlab.bixilon.de/bixilon/pixlyzer.git
synced 2025-09-29 07:01:01 -04:00
pixlyzer print error
This commit is contained in:
parent
27f146c317
commit
c6246b51b3
@ -113,12 +113,14 @@ object PixLyzer {
|
|||||||
continue
|
continue
|
||||||
} catch (exception: Throwable) {
|
} catch (exception: Throwable) {
|
||||||
if (generator.allowedFail) {
|
if (generator.allowedFail) {
|
||||||
|
println("Generator ${generator.name} crashed: $exception")
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
throw exception
|
throw exception
|
||||||
}
|
}
|
||||||
if (generator.entries == 0) {
|
if (generator.entries == 0) {
|
||||||
if (generator.allowEmpty) {
|
if (generator.allowEmpty) {
|
||||||
|
println("Generator ${generator.name} has 0 entries!")
|
||||||
continue
|
continue
|
||||||
} else {
|
} else {
|
||||||
error("${generator.name} has 0 entries!")
|
error("${generator.name} has 0 entries!")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user