// Inform user about loading issues from the loader
(<any>self).require.config({
onError:err=>{
if(err.errorCode==='load'){
shell.onUnexpectedError(newError(nls.localize('loaderErrorNative',"Failed to load a required file. Please restart the application to try again. Details: {0}",JSON.stringify(err))));
// Resolve a workspace payload that we can get the workspace ID from
// Inform user about loading issues from the loader
(<any>self).require.config({
onError:err=>{
if(err.errorCode==='load'){
shell.onUnexpectedError(newError(nls.localize('loaderErrorNative',"Failed to load a required file. Please restart the application to try again. Details: {0}",JSON.stringify(err))));