1
0
mirror of https://github.com/ascribe/onion.git synced 2025-01-03 18:35:09 +01:00

warning instead of exception

This commit is contained in:
Tim Daubenschütz 2015-07-16 18:30:43 +02:00
parent 1d50fa36a2
commit 343ebcf741

View File

@ -72,7 +72,7 @@ export function getCookie(name) {
return parts[i].split('=').pop(); return parts[i].split('=').pop();
} }
} }
throw new Error('There wasn\'t a cookie with name: ' + name + ' found.'); console.warn('There wasn\'t a cookie with name: ' + name + ' found.');
} }
/* /*