Skip to content

Commit

Permalink
Print error to stdout
Browse files Browse the repository at this point in the history
  • Loading branch information
physikerwelt committed Jan 16, 2024
1 parent b1df353 commit 57fae1b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/zbmath_rest2oai/get_all_de.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import sys

import requests
import csv

Expand All @@ -15,7 +17,7 @@ def get_all_de():
try:
final_xml2(de)
except Exception as error:
print(de, error)
print(de, error, file=sys.stderr)


if __name__ == '__main__':
Expand Down

0 comments on commit 57fae1b

Please sign in to comment.