Skip to content

Commit 5bc0161

Browse files
committed
fix: ignore `url-cookie-delete-cookies' error
1 parent ed5ec6d commit 5bc0161

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

leetcode.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
;; Keywords: extensions, tools
77
;; URL: https://github.com/kaiwk/leetcode.el
88
;; Package-Requires: ((emacs "26") (dash "2.16.0") (graphql "0.1.1") (spinner "1.7.3") (aio "1.0") (log4e "0.3.3"))
9-
;; Version: 0.1.15
9+
;; Version: 0.1.16
1010

1111
;; This program is free software; you can redistribute it and/or modify
1212
;; it under the terms of the GNU General Public License as published by
@@ -228,7 +228,7 @@ VALUE should be the referer."
228228
"Steal LeetCode login session from local browser.
229229
It also cleans LeetCode cookies in `url-cookie-file'."
230230
(leetcode--loading-mode t)
231-
(url-cookie-delete-cookies leetcode--domain)
231+
(ignore-errors (url-cookie-delete-cookies leetcode--domain))
232232
(let* ((my-cookies (executable-find "my_cookies"))
233233
(my-cookies-output (shell-command-to-string my-cookies))
234234
(cookies-list (seq-filter

0 commit comments

Comments
 (0)