From 8c4968ae29381e96b577d8dd4b1c5f9257260c5b Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Mon, 30 May 2016 09:33:39 -0700 Subject: [PATCH] typo --- cloudron.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cloudron.js b/cloudron.js index ff238e9..de552b1 100644 --- a/cloudron.js +++ b/cloudron.js @@ -324,7 +324,7 @@ Cloudron.prototype.reboot = function () { Cloudron.prototype.checkTimeZone = function (tz) { var res = request.get(this._origin + '/api/v1/settings/time_zone').query({ access_token: this._credentials.accessToken }).end(); common.verifyResponse2xx(res, 'Could not query timezone'); - if (tz !== res.body.timeZone) throw new Error('timezone does not match. expecting: %s got %s', tz, result.body.timeZone); + if (tz !== res.body.timeZone) throw new Error('timezone does not match. expecting: ' + tz + ' got ' + res.body.timeZone); }; Cloudron.prototype.checkA = function (callback) {