add some logging?
This commit is contained in:
		| @@ -22,6 +22,13 @@ const execPico = (args: string[]) => { | |||||||
|  |  | ||||||
| export const pico8 = { | export const pico8 = { | ||||||
| 	async export(fileIn: string, fileOut: string) { | 	async export(fileIn: string, fileOut: string) { | ||||||
| 		return await execPico([fileIn, "-export", fileOut]); | 		try { | ||||||
|  | 			return await execPico([fileIn, "-export", fileOut]); | ||||||
|  | 		} catch (err) { | ||||||
|  | 			console.log("CAUGHT ERROR", err); | ||||||
|  | 		} | ||||||
| 	} | 	} | ||||||
| } | } | ||||||
|  |  | ||||||
|  | // const result = await pico8.export("/home/dylan/.lexaloffle/pico-8/carts/candles/candles.p8", "/home/dylan/repos/picobook/sample.js"); | ||||||
|  | // console.log(result); | ||||||
		Reference in New Issue
	
	Block a user
	 dylan
					dylan