简体   繁体   English

控制台中的Ruby API错误-如何以更好的方式可视化?

[英]Ruby api errors in console - How to visualize in a better way?

Alright, kinda a weird question. 好吧,有点奇怪的问题。 But I'm gettis some random errors after I call a Ruby Api using AngularJs, as a response I get a big error in the console. 但是当我使用AngularJs调用Ruby Api后,我得到一些随机错误,作为响应,我在控制台中遇到了一个大错误。 Looks like the regular Ruby error screen but I would like to know if there is a better way to look at it. 看起来像常规的Ruby错误屏幕,但我想知道是否有更好的方法来查看它。

Example> 范例> 在此处输入图片说明

Sorry if this is not the way to ask. 抱歉,这不是问问题的方法。

Thanks in advance. 提前致谢。

Redo the request while the Network tab is open in Developers Tool. 在“开发人员工具”中打开“ Network标签后,重做请求。 Click this request, ie http://localhost:3000/users/sign_in.json ,and then you can preview it on the right. 单击此请求,即http://localhost:3000/users/sign_in.json ,然后可以在右侧进行预览。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM