ssfrr/chain-api — pull request #16 by kkleidal (2014-09-25 18:24:25+00:00)
Title: added regression test for issue #14 and fixed the bug

catches the ValueError thrown in resources.py if an invalid timestamp is passed as a parameter and raises a BadRequestException, allowing it to propagate up into api.py where it is returned as a BadRequest (400) to the client with a useful status message.