Skip to content

Commit

Permalink
fix: return frappe dict if gsp error
Browse files Browse the repository at this point in the history
  • Loading branch information
vorasmit committed Jul 12, 2024
1 parent 3d14d7f commit 4e87774
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion india_compliance/gst_india/utils/gstin_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ def _get_gstin_info(gstin, *, throw_error=True):
if not response:
try:
if frappe.cache.get_value("gst_server_error"):
return
return frappe._dict()

response = PublicAPI().get_gstin_info(gstin)
frappe.enqueue(
Expand Down

0 comments on commit 4e87774

Please sign in to comment.