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 {
35
35
. fetch ( source )
36
36
. then ( _response => {
37
37
if ( _response . status >= 400 )
38
- return loggingService . errorUnityLoaderNotFound ( ) ;
38
+ return loggingService . errorUnityLoaderNotFound ( _response . status ) ;
39
39
_response
40
40
. text ( )
41
41
. then ( _text => {
42
42
if ( _text . trim ( ) . charAt ( 0 ) === "<" )
43
- return loggingService . errorUnityLoaderNotFound ( ) ;
43
+ return loggingService . errorUnityLoaderNotFound ( "error doc" ) ;
44
44
this . unityLoaderScript = document . createElement ( "script" ) ;
45
45
this . unityLoaderScript . type = "text/javascript" ;
46
46
this . unityLoaderScript . async = true ;
@@ -52,8 +52,8 @@ export default class UnityLoaderService {
52
52
} ;
53
53
this . documentHead . appendChild ( this . unityLoaderScript ) ;
54
54
} )
55
- . catch ( _reason => loggingService . errorUnityLoaderNotFound ( ) ) ;
55
+ . catch ( _reason => loggingService . errorUnityLoaderNotFound ( _reason ) ) ;
56
56
} )
57
- . catch ( _reason => loggingService . errorUnityLoaderNotFound ( ) ) ;
57
+ . catch ( _reason => loggingService . errorUnityLoaderNotFound ( _reason ) ) ;
58
58
}
59
59
}
You can’t perform that action at this time.
0 commit comments