Skip to content

Commit

Permalink
fix(session): use console.warn instead of debug for warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Feb 18, 2016
1 parent dcf3282 commit e7c6367
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/session.js
Original file line number Diff line number Diff line change
Expand Up @@ -408,7 +408,7 @@ Session.prototype._transferReceived = function(frame) {

if (this._sessionParams.incomingWindow < 0) {
// @todo: Shut down session since sender is not respecting window.
debug('Transfer frame received when no incoming window remaining, should shut down session but for now being tolerant.');
console.warn('Transfer frame received when no incoming window remaining, should shut down session but for now being tolerant.');
}

if (frame.deliveryId !== undefined && frame.deliveryId !== null) {
Expand Down

0 comments on commit e7c6367

Please sign in to comment.