Merge branch 'master' into development
Bringing beta up to date with production v1.0.40
This commit is contained in:
		
				commit
				
					
						f013eed9d1
					
				
			
		
					 19 changed files with 675 additions and 251 deletions
				
			
		| 
						 | 
				
			
			@ -166,6 +166,10 @@ window.log = {
 | 
			
		|||
};
 | 
			
		||||
 | 
			
		||||
window.onerror = function(message, script, line, col, error) {
 | 
			
		||||
  window.log.error(error.stack);
 | 
			
		||||
  const errorInfo = error && error.stack ? error.stack : JSON.stringify(error);
 | 
			
		||||
  window.log.error('Top-level unhandled error: ' + errorInfo);
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
window.addEventListener('unhandledrejection', function(rejectionEvent) {
 | 
			
		||||
  window.log.error('Top-level unhandled promise rejection: ' + rejectionEvent.reason);
 | 
			
		||||
});
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue