git.r.bdr.sh
/
rbdr
/
cologne
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
inline
| side by side (parent:
8da0b42
)
Properly handle logging null.
author
Ben Beltran
<redacted>
Mon, 13 Jan 2014 19:21:19 +0000
(13:21 -0600)
committer
Ben Beltran
<redacted>
Mon, 13 Jan 2014 19:21:19 +0000
(13:21 -0600)
lib/cobalt.js
patch
|
blob
|
blame
|
history
package.json
patch
|
blob
|
blame
|
history
diff --git
a/lib/cobalt.js
b/lib/cobalt.js
index d2d2c13c7fd37b79dc2e4fe4f6299b24f962c779..f949b6a925f8aa9ad5a069c6b0b66b65155ca59b 100644
(file)
--- a/
lib/cobalt.js
+++ b/
lib/cobalt.js
@@
-93,6
+93,8
@@
buildLog : function (item, level) {
var co = this, oldItem, logObject = {};
buildLog : function (item, level) {
var co = this, oldItem, logObject = {};
+ item = item || {};
+
if (!item._cobaltLog) {
logObject.message = item;
logObject._cobaltLog = true;
if (!item._cobaltLog) {
logObject.message = item;
logObject._cobaltLog = true;
diff --git
a/package.json
b/package.json
index 68ce318dc1f54eb730942a7cf04ebef81b584c17..a4205c9c8194105b82b70a56f76a419f813d31ff 100644
(file)
--- a/
package.json
+++ b/
package.json
@@
-17,7
+17,7
@@
"url" : "http://github.com/ktlacaelel"
}
],
"url" : "http://github.com/ktlacaelel"
}
],
- "version" : "0.1.
9
",
+ "version" : "0.1.
10
",
"dependencies" : {
"neon" : "1.0.x",
"socket.io-client" : "0.9.x",
"dependencies" : {
"neon" : "1.0.x",
"socket.io-client" : "0.9.x",