mirror of
https://github.com/ascribe/onion.git
synced 2024-12-22 17:33:14 +01:00
warning instead of exception
This commit is contained in:
parent
1d50fa36a2
commit
343ebcf741
@ -72,7 +72,7 @@ export function getCookie(name) {
|
||||
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.');
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user