File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -340,15 +340,15 @@ module.exports = NodeHelper.create({
340340 // Delete the temporary file
341341 fs . unlinkSync ( tempFilename ) ;
342342 } catch ( e ) {
343- Log . error ( `[MMM-Remote-Control] Could not load main module js file. Error found: ${ e . message || e } ` ) ;
343+ Log . error ( `[MMM-Remote-Control] Could not load main module js file for ${ module . longname } . Error found: ${ e . message || e } ` ) ;
344344 }
345345 } else if ( e . code == "ENOENT" ) {
346346 Log . error ( `[MMM-Remote-Control] Could not find main module js file for ${ module . longname } ` ) ;
347347 } else if ( e instanceof SyntaxError ) {
348348 Log . error ( "[MMM-Remote-Control] Could not validate main module js file." ) ;
349349 Log . error ( e ) ;
350350 } else {
351- Log . error ( `[MMM-Remote-Control] Could not load main module js file. Error found: ${ e } ` ) ;
351+ Log . error ( `[MMM-Remote-Control] Could not load main module js file for ${ module . longname } . Error found: ${ e } ` ) ;
352352 }
353353 }
354354 if ( lastOne ) { this . onModulesLoaded ( ) ; }
You can’t perform that action at this time.
0 commit comments