Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 53dae55

Browse files
committed
Fix unclear 'Error during deserialization: null' messages
1 parent 4b9accd commit 53dae55

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎serialization/src/main/kotlin/SerializationIntegration.kt‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ public class SerializationIntegration : JupyterIntegration(){
9898
"jsonDeserializer.decodeFromString<$className>(\"\"\"$escapedJson\"\"\")"
9999
).name
100100
} catch (e:Exception){
101-
display("Error during deserialization: ${e.cause?.message}", id =null)
101+
display("Error during deserialization: ${e.cause?.message?: e.message}", id =null)
102102
null
103103
}
104104
}

0 commit comments

Comments
(0)