During a Firebase outage is there a way to simulate this by running local code

时间:2017-08-30 20:11:59

标签: javascript firebase error-handling

During a firebase outage my app had a very poor user experience with things just not loading. Is there a way to run some local code to simulate this experience so that my app doesn't crash and burn during the next outage? I'm currently using the javascript SDK.

Errors from the app

1 个答案:

答案 0 :(得分:2)

我设法通过向/ etc / hosts文件中的套接字连接器添加覆盖,相当容易地重现结果

std::vector< std::vector<long long int> >

您可以从Chrome中的网络WS标签中提取此位置,以查看需要覆盖的内容 enter image description here