Closed mslaffin closed 1 year ago
Also, please submit an issue to this repo which states the problem you are facing. Then, mark this PR as "resolving" that issue. This helps us track the code development.
I changed your PR's base branch per the docs: https://docs.amdc.dev/firmware/development/
Let's merge this in.
Due to additional commits on this branch due to base not being develop
, I am closing this PR and moving the change commit to #291
This PR adds a check to ensure that a valid path to a folder with a
mapfile.txt
is passed tofind_mapfile()
beforeAMDC_Logger
is initiated. If the specified path does not exist or the mapfile does not exist at this location, then an exception is raised. Previously no errors are shown iffind_mapfile
returns a null value.Example scenarios where this check would be encountered
Passing a non-existent file path:
Passing a valid file path which does not contain a mapfile