File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -35,12 +35,12 @@ export default class UnityLoaderService {
3535 . fetch ( source )
3636 . then ( _response => {
3737 if ( _response . status >= 400 )
38- return loggingService . errorUnityLoaderNotFound ( ) ;
38+ return loggingService . errorUnityLoaderNotFound ( _response . status ) ;
3939 _response
4040 . text ( )
4141 . then ( _text => {
4242 if ( _text . trim ( ) . charAt ( 0 ) === "<" )
43- return loggingService . errorUnityLoaderNotFound ( ) ;
43+ return loggingService . errorUnityLoaderNotFound ( "error doc" ) ;
4444 this . unityLoaderScript = document . createElement ( "script" ) ;
4545 this . unityLoaderScript . type = "text/javascript" ;
4646 this . unityLoaderScript . async = true ;
@@ -52,8 +52,8 @@ export default class UnityLoaderService {
5252 } ;
5353 this . documentHead . appendChild ( this . unityLoaderScript ) ;
5454 } )
55- . catch ( _reason => loggingService . errorUnityLoaderNotFound ( ) ) ;
55+ . catch ( _reason => loggingService . errorUnityLoaderNotFound ( _reason ) ) ;
5656 } )
57- . catch ( _reason => loggingService . errorUnityLoaderNotFound ( ) ) ;
57+ . catch ( _reason => loggingService . errorUnityLoaderNotFound ( _reason ) ) ;
5858 }
5959}
You can’t perform that action at this time.
0 commit comments