Skip to content

Commit 62c0135

Browse files
authored
Merge pull request #57 from eodms-sgdot/development
Added Issues/Error Link
2 parents 378bcff + f407409 commit 62c0135

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

scripts/utils.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2623,6 +2623,14 @@ def order_st(self, sar_toolbox, priority):
26232623
if isinstance(order_res, QueryError):
26242624
err_msg = order_res.get_msgs(True)
26252625
self.logger.error(err_msg)
2626+
2627+
if err_msg.find('500 Server Error') > -1:
2628+
err_msg += "\n\nSAR Toolbox validation failed." \
2629+
"\n\nBefore submitting a new request or contacting the " \
2630+
"EODMS Support Team, please check the common " \
2631+
"issues/errors at " \
2632+
"https://github.com/eodms-sgdot/eodms-cli/wiki/Process-6#validation-errorscommon-issues"
2633+
26262634
self.print_msg(err_msg, heading='error')
26272635
self.exit_cli(1)
26282636

0 commit comments

Comments
 (0)