| Index: appengine/swarming/handlers_endpoints.py
|
| diff --git a/appengine/swarming/handlers_endpoints.py b/appengine/swarming/handlers_endpoints.py
|
| index c7223854f83ee2910f670f8bc2d10f804d2b1590..b7ca5d59991ca54d4cc01305ef78d4effab9a86a 100644
|
| --- a/appengine/swarming/handlers_endpoints.py
|
| +++ b/appengine/swarming/handlers_endpoints.py
|
| @@ -628,7 +628,7 @@ class SwarmingBotsService(remote.Service):
|
| q, swarming_rpcs.to_bool(request.quarantined),
|
| swarming_rpcs.to_bool(request.is_dead), now)
|
| except ValueError as e:
|
| - raise endpoints.BadRequestException('%s' % e)
|
| + raise endpoints.BadRequestException(str(e))
|
|
|
| bots, cursor = datastore_utils.fetch_page(q, request.limit, request.cursor)
|
| return swarming_rpcs.BotList(
|
|
|