Skip to content

Commit 51fc30d

Browse files
fix: fix JSONDEcodeError exception
When trying to delete a folder, the exception raised is not `json.JSONDEcodeError` but `requests.exceptions.JSONDECodeError`
1 parent c6c799b commit 51fc30d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grafana_client/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from json import JSONDecodeError
1+
from requests.exceptions import JSONDecodeError
22

33
import niquests
44
import niquests.auth

0 commit comments

Comments
 (0)