Skip to content

Commit 8d56ec1

Browse files
Synchronize currency conversion exception message
1 parent 0338348 commit 8d56ec1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/geophires_x/Parameter.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -505,10 +505,10 @@ def ConvertUnits(ParamToModify, strUnit: str, model) -> str:
505505
except BaseException as ex:
506506
print(str(ex))
507507
msg = (
508-
f'Error: GEOPHIRES failed to convert your currency for {ParamToModify.Name} to something it '
509-
f'understands. You gave {strUnit} - Are these currency units defined for forex-python? or perhaps the '
510-
f'currency server is down? Please change your units to {ParamToModify.PreferredUnits.value} to '
511-
f'continue. Cannot continue unless you do. Exiting.'
508+
f'Error: GEOPHIRES failed to convert your currency for {ParamToModify.Name} to something it understands. '
509+
f'You gave {strUnit} - conversion may be affected by https://github.com/NREL/GEOPHIRES-X/issues/236. '
510+
f'Please change your units to {ParamToModify.PreferredUnits.value} '
511+
f'to continue. Cannot continue unless you do. Exiting.'
512512
)
513513
print(msg)
514514
model.logger.critical(str(ex))

0 commit comments

Comments
 (0)