chore: remove some random console.logs

This commit is contained in:
Aarnav Tale
2025-12-13 16:35:19 -05:00
parent 7b4966be02
commit e373c4a65e
2 changed files with 0 additions and 4 deletions
-2
View File
@@ -170,12 +170,10 @@ export function getErrorMessage(error: Error | unknown): {
// Traverse the error chain to find the root cause
let rootError = error;
console.log('error', error.cause != null);
if (error.cause != null) {
rootError = error.cause as Error;
while (rootError.cause != null) {
rootError = rootError.cause as Error;
console.log('setting rootError', rootError.message);
}
}
-2
View File
@@ -55,8 +55,6 @@ export async function aclAction({ request, context }: Route.ActionArgs) {
throw error;
}
console.log('rawData', message);
// Starting in Headscale 0.27.0 the ACLs parsing was changed meaning
// we need to reference other error messages based on API version.
if (context.hsApi.clientHelpers.isAtleast('0.27.0')) {