Skip to content

Commit

Permalink
try to get more complete error information
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Jan 24, 2024
1 parent e13983b commit dc55702
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions nmpi/nmpi_saga.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,17 @@
import time
import mimetypes
import hashlib
import radical.saga as saga
import logging
import codecs
import traceback

import radical.saga as saga
import sh
from sh import git, unzip, tar, curl
import nmpi
import codecs
from requests.auth import AuthBase

import nmpi


DEFAULT_SCRIPT_NAME = "run.py {system}"
DEFAULT_PYNN_VERSION = "0.11"
Expand Down Expand Up @@ -542,7 +545,7 @@ def main():
for job in jobs:
print(f"{job['id']} ({job['user_id']}): {job['status']}")
except Exception as err:
print(err)
traceback.print_exception(err)
return 1
else:
return 0
Expand Down

0 comments on commit dc55702

Please sign in to comment.