File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -369,19 +369,19 @@ private void OnMessageReceived(CompilerMessage message)
369369 }
370370 case MessageType . Error :
371371 {
372- Exception exception = ( Exception ) message . ExtraData ;
372+ string exception = message . ExtraData ;
373373 Compilation compilation = _compilations [ message . Id ] ;
374374 _compilations . Remove ( message . Id ) ;
375375
376376 if ( compilation == null )
377377 {
378- Interface . Oxide . LogException ( "Compiler returned a error for a untracked compilation" , exception ) ;
378+ Interface . Oxide . LogError ( $ "Compiler returned a error for a untracked compilation: { exception } " ) ;
379379 return ;
380380 }
381381
382382 foreach ( CompilablePlugin p in compilation . plugins )
383383 {
384- p . CompilerErrors = exception . Message ;
384+ p . CompilerErrors = exception ;
385385 }
386386
387387 compilation . Completed ( ) ;
You can’t perform that action at this time.
0 commit comments