Merge pull request #65 from EnderKingJ/patch-1

better uv logging to fix the customBare error
This commit is contained in:
Green! 2023-01-23 15:56:55 -05:00 committed by GitHub
commit 1f8ee54615
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -205,8 +205,12 @@ getBareLocation().then(bareLocation => {
}); });
} catch(err) { } catch(err) {
console.error(err);
return new Response(err.toString(), { return new Response(err.toString(), {
status: 500, status: 500,
headers: {
'x-uv-error': err,
}
}); });
}; };
}; };