Skip to content

Commit

Permalink
Uncommenting try block
Browse files Browse the repository at this point in the history
  • Loading branch information
mistercrunch committed Sep 22, 2015
1 parent 449441f commit e4a5f34
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
3 changes: 2 additions & 1 deletion TODO.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
# TODO
* Add a per-datasource permission

* in/notin filters autocomplete
* DRUID: Allow for post aggregations (ratios!)
* compare time ranges
* csv export out of table view
* SQL: Find a way to manage granularity
* Create ~/.panoramix/ to host DB and config, generate default config there
* Add a per-datasource permission
* Reintroduce query and stopwatch
* Sort tooltip
* Add a "Test Connection" button in Add Connection menu
6 changes: 2 additions & 4 deletions panoramix/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -288,17 +288,15 @@ def datasource(self, datasource_type, datasource_id):
status=status,
mimetype="application/json")
else:
#try:
resp = self.render_template("panoramix/viz.html", viz=obj)
'''
try:
resp = self.render_template("panoramix/viz.html", viz=obj)
except Exception as e:
if config.DEBUG:
raise(e)
return Response(
str(e),
status=500,
mimetype="application/json")
'''
return resp

@has_access
Expand Down

0 comments on commit e4a5f34

Please sign in to comment.