Skip to content
This repository has been archived by the owner on Mar 8, 2022. It is now read-only.

proposed solution to #70 #71

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Conversation

leo-combes
Copy link

@leo-combes leo-combes commented May 31, 2018

When a malformed package is found, an error message is left in the log with the sample of the package that originated it.
There is no exception or cause stop the program.

Is my first PR, so I'm not sure if I are doing fine.

When a malformed package is found, an error message is left in the log with the sample of the package that originated it.
There is no exception or cause stop the program.
Is my first PR, so I'm not sure if I are doing this fine.
@bangert
Copy link
Collaborator

bangert commented May 31, 2018

please add the changes for the test.

also in other places we have just reduced the amount of logging printed by the library. i think the logger statements can be omitted. however the message in hex may be added to the error exception (not sure though).

@leo-combes
Copy link
Author

I have deleted the error messages in log and improved a little the error report. If you consider that is better to remove the hex message in error description, I can do. Travis keeps failing and I no understand what means "change the test". Sorry but I have not experience with github and travis. If you tell me how to do it, I can fix it.

@bangert
Copy link
Collaborator

bangert commented Jun 6, 2018

great!

the test case that is failing is checking whether or not an Exception is thrown on a parse error. you changed the code to not thrown an exception anymore, so the test fails. you should update the test case so that it no longer requires an exception to be thrown, instead checking the returned error object.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants