mirror of
				https://github.com/Swatinem/rust-cache
				synced 2025-10-31 21:02:29 +00:00 
			
		
		
		
	deal with uncaught exceptions
This commit is contained in:
		
							parent
							
								
									9cc357c650
								
							
						
					
					
						commit
						6ccf2463db
					
				
					 3 changed files with 10 additions and 0 deletions
				
			
		
							
								
								
									
										3
									
								
								dist/restore/index.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/restore/index.js
									
										
									
									
										vendored
									
									
								
							|  | @ -54465,6 +54465,9 @@ var __asyncValues = (undefined && undefined.__asyncValues) || function (o) { | |||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| process.on("uncaughtException", (e) => { | ||||
|     core.info(`[warning] ${e.message}`); | ||||
| }); | ||||
| const stateKey = "RUST_CACHE_KEY"; | ||||
| const stateHash = "RUST_CACHE_HASH"; | ||||
| const home = external_os_default().homedir(); | ||||
|  |  | |||
							
								
								
									
										3
									
								
								dist/save/index.js
									
										
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								dist/save/index.js
									
										
									
									
										vendored
									
									
								
							|  | @ -54465,6 +54465,9 @@ var __asyncValues = (undefined && undefined.__asyncValues) || function (o) { | |||
| 
 | ||||
| 
 | ||||
| 
 | ||||
| process.on("uncaughtException", (e) => { | ||||
|     core.info(`[warning] ${e.message}`); | ||||
| }); | ||||
| const stateKey = "RUST_CACHE_KEY"; | ||||
| const stateHash = "RUST_CACHE_HASH"; | ||||
| const home = external_os_default().homedir(); | ||||
|  |  | |||
|  | @ -7,6 +7,10 @@ import fs from "fs"; | |||
| import os from "os"; | ||||
| import path from "path"; | ||||
| 
 | ||||
| process.on("uncaughtException", (e) => { | ||||
|   core.info(`[warning] ${e.message}`); | ||||
| }); | ||||
| 
 | ||||
| export const stateKey = "RUST_CACHE_KEY"; | ||||
| const stateHash = "RUST_CACHE_HASH"; | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue