Skip to content
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

feat(error_code): Add more verbose error code #37

Open
MrKevinWeiss opened this issue Oct 21, 2019 · 0 comments
Open

feat(error_code): Add more verbose error code #37

MrKevinWeiss opened this issue Oct 21, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@MrKevinWeiss
Copy link
Collaborator

Currently the console gives feedback if something fails such as

==============================================================================
tests_periph_timer                                                            
==============================================================================
tests_periph_timer.Periph Timer Base :: Verify basic functionality of the P...
==============================================================================
Timer Init Should Succeed :: Verify timer_init return code            | FAIL |
'Error' does not contain 'Success'
------------------------------------------------------------------------------

It would be nice to have the full struct printed so we can see the values and the command in the console output, something like:

==============================================================================
tests_periph_timer                                                            
==============================================================================
tests_periph_timer.Periph Timer Base :: Verify basic functionality of the P...
==============================================================================
Timer Init Should Succeed :: Verify timer_init return code            | FAIL |
`Error' does not contain 'Success'
cmd: init_val(dev=0)
data: 5
msg: Initializing the periph timer
result: Error

------------------------------------------------------------------------------
@MrKevinWeiss MrKevinWeiss added the enhancement New feature or request label Oct 21, 2019
@MrKevinWeiss MrKevinWeiss self-assigned this Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant