Improve error behaviour of //generate

This commit is contained in:
Alexander Brandes 2023-07-15 09:26:00 +02:00
parent a680c7ce97
commit 1745c50878
No known key found for this signature in database
GPG Key ID: 158F5701A6AAD00C

View File

@ -2991,9 +2991,10 @@ public class EditSession extends PassthroughExtent implements AutoCloseable {
} catch (ExpressionTimeoutException e) {
timedOut[0] = timedOut[0] + 1;
return null;
} catch (RuntimeException e) {
throw e;
} catch (Exception e) {
LOGGER.warn("Failed to create shape", e);
return null;
throw new RuntimeException(e);
}
}
};