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