Create droplet of your liking (ubuntu 14.04 x64)
ssh to root in terminal with your server ip
ssh [email protected]
# Ignore static version of the site (used to upload error pages to S3 for Heroku errors) | |
/out |
Go to Run/Debug Configurations | |
Add a new Gem Command | |
Enter 'sidekiq' as the Gem name and Executable name | |
Check 'Run the script in the contexst of bundle (bundle exec) under the 'Bundler' tab | |
Click 'Apply' and then run it. |
angular.module('app').config(function($provide) { | |
$provide.decorator('$exceptionHandler', ['$delegate', '$injector', function($delegate, $injector) { | |
var $location; | |
return function(exception, cause) { | |
$location = $location || $injector.get('$location'); | |
var url = $location.absUrl(); | |
$delegate(exception, cause); | |
Rollbar.error( url + ': ' + exception.stack); | |
}; | |
}]); |
Create droplet of your liking (ubuntu 14.04 x64)
ssh to root in terminal with your server ip
ssh [email protected]