Made time-error message clearer#154
Made time-error message clearer#154choksi81 wants to merge 3 commits intoSeattleTestbed:masterfrom choksi81:modifying_time_interface
Conversation
|
@choksi81 Does this PR fix the issue you were having with the TCP relay unit test? Was it simply an invalid port number argument? |
|
As it turns out, yes, that was the problem I was facing with TCP relay On 19 November 2014 13:35, Vladimir Diaz notifications@github.com wrote:
|
|
I ran the However, calling (The We should thus raise an error before we attempt calling |
|
9767003 now raises an exception if @aaaaalbert May I merge some of these pull requests after reviewing them? |
|
Yes, please go ahead (assuming that the unit tests don't break). |
On passing disallowed port numbers, time_interface was displaying misleading error in the form of
raise TimeError("time_updatetime called before time_register_method!")Also, there was an unreachable part of code
raise TimeError('Error(s) in time_updatetime: ' + str(exception_list)), which has been fixed in this PR.