File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ public JSException(JSError error) : base(error.Message)
4343 /// This constructor must be called while still on the JS thread.
4444 /// </remarks>
4545 internal JSException ( Exception innerException )
46- : this ( "Exception thrown from JS thread. See inner exception for details." , innerException )
46+ : this ( "Exception thrown from JS thread: " + innerException ? . Message , innerException )
4747 {
4848 JSException ? innerJSException = innerException as JSException ;
4949 JSValue ? jsError = innerJSException ? . Error ? . Value ;
Original file line number Diff line number Diff line change @@ -214,7 +214,7 @@ public void ErrorPropagation()
214214 } ) ;
215215 } ) ;
216216
217- Assert . StartsWith ( "Exception thrown from JS thread. " , exception . Message ) ;
217+ Assert . Equal ( "Exception thrown from JS thread: test " , exception . Message ) ;
218218 Assert . IsType < JSException > ( exception . InnerException ) ;
219219
220220 exception = ( JSException ) exception . InnerException ;
You can’t perform that action at this time.
0 commit comments