Skip to content

Commit 29ea8ef

Browse files
committed
[NEP-18090]: Adding a class for warming up the dataset cache
Adding full error to the rollbar
1 parent d117a91 commit 29ea8ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/superset/dataset/warm_up_cache.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def response
2020
logger.info("Hitting #{route} for warming up the cache for the dashboard #{dashboard_id.to_s} and for the dataset #{dataset["datasource_name"]}")
2121
api_response(dataset["datasource_name"], dataset["name"])
2222
rescue => e
23-
Rollbar.error("Warm up cache failed for the dashboard #{dashboard_id.to_s} and for the dataset #{dataset["datasource_name"]} - #{e.message}")
23+
Rollbar.error("Warm up cache failed for the dashboard #{dashboard_id.to_s} and for the dataset #{dataset["datasource_name"]} - #{e}")
2424
end
2525
end
2626
end

0 commit comments

Comments
 (0)