Skip to content

Commit

Permalink
Tweak the README, and throw an error if the base64 config is attempted
Browse files Browse the repository at this point in the history
  • Loading branch information
bkonkle committed May 2, 2012
1 parent 14dcd2a commit 4ab2ce8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 2 additions & 6 deletions README.md
Expand Up @@ -3,13 +3,9 @@
This is an experimental JavaScript client for the [Sentry][1] realtime event
logging and aggregation platform.

The full and minified distribution files include code from another
open-source project:

* parseUri from [parseUri][5] (included in minified distribution)

The stacktrace generation was inspired by the [javascript-stacktrace][4]
project, and includes heavily modified portions of that project's code.
project, and includes heavily modified portions of that project's code. The
full and minified distribution files include [parseUri][5].

[1]: http://getsentry.com/
[4]: https://github.com/eriwen/javascript-stacktrace
Expand Down
3 changes: 3 additions & 0 deletions src/raven.js
Expand Up @@ -4,6 +4,7 @@
//
// Requires:
// * Either jQuery (>1.5) or Zepto.js.
// * parseUri (included in the full and minified distribution files)

(function(){
// Save a reference to the global object (`window` in the browser, `global`
Expand Down Expand Up @@ -40,6 +41,8 @@
if (config.indexOf('http') === 0) {
// new-style DSN configuration
config = Raven.parseDSN(config);
} else {
throw "Base64 encoded config is no longer supported - use DSN";
}
}
$.each(config, function(i, option) {
Expand Down

0 comments on commit 4ab2ce8

Please sign in to comment.