Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2746)

Unified Diff: appengine/swarming/handlers_endpoints.py

Issue 2227803002: Mirror filters and sort preferences to url-params (Closed) Base URL: https://chromium.googlesource.com/external/github.com/luci/luci-py@use-dimensions
Patch Set: Tweak docs Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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(
« no previous file with comments | « appengine/swarming/elements/res/js/common.js ('k') | appengine/swarming/templates/public_botlist_index.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698