Abort collaboration process if any thread panics

Antonio Scandurra created

Change summary

Cargo.toml | 2 --
Dockerfile | 1 +
2 files changed, 1 insertion(+), 2 deletions(-)

Detailed changes

Cargo.toml 🔗

@@ -84,5 +84,3 @@ split-debuginfo = "unpacked"
 
 [profile.release]
 debug = true
-
-

Dockerfile 🔗

@@ -5,6 +5,7 @@ WORKDIR app
 COPY . .
 
 # Compile collab server
+ARG CARGO_PROFILE_RELEASE_PANIC=abort
 RUN --mount=type=cache,target=./script/node_modules \
     --mount=type=cache,target=/usr/local/cargo/registry \
     --mount=type=cache,target=./target \