Skip to content

Commit

Permalink
Unexpected warning when running a standalone script (#9114)
Browse files Browse the repository at this point in the history
close #9109

Fixes the issue when the runner displays unexpected log messages
```
> .\built-distribution\enso-engine-0.0.0-dev-windows-amd64\enso-0.0.0-dev\bin\enso --run .\test.enso
[WARN] [2024-02-20T12:04:21+01:00] [enso.org.enso.interpreter.runtime.SerializationPool] Serialization of module `test` failed: Unable to write cache data for test.`
42
```
  • Loading branch information
4e6 authored Feb 23, 2024
1 parent 880562a commit 6aa2137
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ private Callable<Boolean> doSerializeModule(
return saved != null;
} catch (Throwable e) {
logSerializationManager(
e instanceof IOException ? Level.WARNING : Level.SEVERE,
"Serialization of module `" + name + "` failed: " + e.getMessage() + "`",
e instanceof IOException ? Level.FINE : Level.SEVERE,
"Serialization of module `" + name + "` failed: " + e.getMessage(),
e);
throw e;
} finally {
Expand Down

0 comments on commit 6aa2137

Please sign in to comment.