We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 355a81a commit 3dce9f5Copy full SHA for 3dce9f5
tools/load-er.py
@@ -92,8 +92,9 @@ def main(c_args: argparse.Namespace, filename: str) -> None:
92
if not num_rates and not num_rates_failed:
93
console.log('Loaded [bold red1]nothing[/bold red1]')
94
95
- # Error states
96
- if num_rates_failed or not num_rates and not num_rates_failed:
+ # Error if nothing was loaded.
+ # Errors or jobs without rates are not considered an error
97
+ if num_rates == 0:
98
sys.exit(1)
99
100
0 commit comments