-
Notifications
You must be signed in to change notification settings - Fork 97
feat: Adding error YAML file in GEOS #3828
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
feat: Adding error YAML file in GEOS #3828
Conversation
… link between GEOS_THROW_CTX_IF and LVARRAY_THROW_IF_TEST( EXP, MSG, TYPE )
… in try/catch statements Problem: Retrieves everything that was thrown, so not just the message.
…/catch in main)": remove useless try/catch
…y spaces. The previous condition checked whether an argument was present and whether the option was immediately followed by a value like -test"value", which excluded valid cases like -test "value" et -test "value".
…y/create-yaml-file-and-structure-2
…y/create-yaml-file-and-structure-2
…y/create-yaml-file-and-structure-2
…e CI does not like explicit 'common' dependency for 'physicsSolver' package)
This PR seems to be blocked because of lack of space for the Ubuntu debug CI target
Can someone help? |
@rrsettgast the ubuntu-debug build in the CI for this PR is running out of space for the install into /opt in the container. |
This PR aims to provide a file that stores warnings and errors regarding input data that occur during the current execution.
To do this, I created a class called
ErrorLogger
that retrieves, formats, and sends the desired information to a YAML file.I also have (in the Logger.hpp file) two macros for each of the following cases:
For each of these cases, one of these macro allows to attach contextual information about the error/warning.
Each of the macros is based on the
ErrorLogger
class.This PR is a duplicate ( #3690 ) and has been created because it was not possible to run the CI on external branches for security reasons.
Code review has been started on the old PR.
Note that future PRs are planned for:
DataContext
referencing redundancy