Dont double log error

This commit is contained in:
Owen
2026-08-03 10:35:26 -04:00
parent 59ea701304
commit 1e521b0b54
+3 -1
View File
@@ -112,7 +112,9 @@ export async function updateHolePunch(
destinations: destinations
});
} catch (error) {
logger.error(error);
if (!(error instanceof Error && error.message === "Exit node not allowed")) {
logger.error(error);
}
return next(
createHttpError(
HttpCode.INTERNAL_SERVER_ERROR,