Merge pull request #11834 from xelan/feature/preserve-error-types
Preserve error types during translation
This commit is contained in:
		
						commit
						b6f69d47b6
					
				@ -823,7 +823,7 @@ const PDFViewerApplication = {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        return loadingErrorMessage.then(msg => {
 | 
					        return loadingErrorMessage.then(msg => {
 | 
				
			||||||
          this.error(msg, { message });
 | 
					          this.error(msg, { message });
 | 
				
			||||||
          throw new Error(msg);
 | 
					          throw exception;
 | 
				
			||||||
        });
 | 
					        });
 | 
				
			||||||
      }
 | 
					      }
 | 
				
			||||||
    );
 | 
					    );
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user