Skip to content

$network.request logging#258

Open
gliechtenstein wants to merge 3 commits intodevelopfrom
action_debug
Open

$network.request logging#258
gliechtenstein wants to merge 3 commits intodevelopfrom
action_debug

Conversation

@gliechtenstein
Copy link
Contributor

Code derived from @jashot7's code at Jasonette/documentation#78 (comment)

The debugging feature kicks in when options.debug is set to true. For example:

{
  "type": "$network.request",
  "options": {
    "url": "...",
    "debug": "true"
  },
  "success": {
    "type": "$render"
  }
}

@clsource
Copy link
Contributor

Line 161

Could have a potential crash if the method object is nil. I recommend having a default value.

@gliechtenstein
Copy link
Contributor Author

@clsource nice catch! just fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants