catch key error
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Timo Hocker 2022-08-10 11:08:14 +02:00
parent da36f87250
commit 1009a9b8d5
No known key found for this signature in database
GPG Key ID: 3B86485AC71C835C
2 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ class Authority {
key, key,
(info) => { (info) => {
try { try {
return keystore.get_key (info.iat / 1000, info.iss); return await keystore.get_key (info.iat / 1000, info.iss);
} }
catch { catch {
return ''; return '';

View File

@ -1,6 +1,6 @@
{ {
"name": "@sapphirecode/auth-server-helper", "name": "@sapphirecode/auth-server-helper",
"version": "3.3.1", "version": "3.3.2",
"main": "dist/lib/index.js", "main": "dist/lib/index.js",
"author": { "author": {
"name": "Timo Hocker", "name": "Timo Hocker",