Fixed errors still propogating of the include was removed from the parent. Also supressing 'shaderpacks' path not found

This commit is contained in:
Noah Santschi-Cooney 2018-08-05 00:10:40 +01:00
parent 036b6809dc
commit 6fd02abd9d
No known key found for this signature in database
GPG key ID: 3B22282472C8AE48
6 changed files with 52 additions and 26 deletions

View file

@ -5,7 +5,8 @@ import { serverLog } from './logging'
export function postError(e: Error) {
connection.window.showErrorMessage(e.message)
serverLog.error(e.message, new Error())
serverLog.error(e.message, null)
console.log(e)
}
export const formatURI = (uri: string) => uri.replace(/^file:\/\//, '').replace(/^(?:\/)c%3A/, 'C:').replace(/\\/g, '/')