From 3e92c7fe7247891febf09a3b3f6e4d7f3cf3f94b Mon Sep 17 00:00:00 2001 From: Ben Arent Date: Fri, 15 Mar 2013 12:02:46 -0700 Subject: [PATCH] Update endpoint to api.airbrake.io This is the main domain for Airbrake notices to be sent to. --- AirbrakeNotifier.scala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AirbrakeNotifier.scala b/AirbrakeNotifier.scala index e579fd2..b5d648e 100644 --- a/AirbrakeNotifier.scala +++ b/AirbrakeNotifier.scala @@ -10,7 +10,7 @@ object AirbrakeNotifier { val API_KEY = "YOUR API KEY HERE" def createConnection : HttpURLConnection = { - val connection = new URL("http://airbrakeapp.com/notifier_api/v2/notices").openConnection.asInstanceOf[HttpURLConnection] + val connection = new URL("http://api.airbrake.io/notifier_api/v2/notices").openConnection.asInstanceOf[HttpURLConnection] connection.setDoOutput(true); connection.setRequestProperty("Content-type", "text/xml"); connection.setRequestProperty("Accept", "text/xml, application/xml"); @@ -79,4 +79,4 @@ object AirbrakeNotifier { case _ => () } } -} \ No newline at end of file +}