Skip to content

Commit 18b3ed5

Browse files
josenavasantgonza
authored andcommitted
Fixing patch (#2315)
1 parent 5b54aa7 commit 18b3ed5

File tree

1 file changed

+1
-1
lines changed
  • qiita_db/support_files/patches/python_patches

1 file changed

+1
-1
lines changed

qiita_db/support_files/patches/python_patches/58.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ def correct_redis_data(key, cmd, values_dict, user):
4343
'alert_type': info['status'],
4444
'alert_msg': info['alert_msg']}
4545
r_client.set(key, dumps(payload))
46-
except QiitaDBUnknownIDError:
46+
except (QiitaDBUnknownIDError, KeyError):
4747
# We shomehow lost the information of this job
4848
# Simply delete the key
4949
r_client.delete(key)

0 commit comments

Comments
 (0)