Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Sharkey
Manage
Activity
Members
Labels
Plan
Issues
342
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
25
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TransFem.org
Sharkey
Commits
b1860b24
Commit
b1860b24
authored
7 years ago
by
syuilo
Browse files
Options
Downloads
Patches
Plain Diff
Better blue screen
parent
8bf77ac8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/web/app/boot.js
+13
-2
13 additions, 2 deletions
src/web/app/boot.js
with
13 additions
and
2 deletions
src/web/app/boot.js
+
13
−
2
View file @
b1860b24
...
...
@@ -120,7 +120,7 @@ function fetchme(token, cb) {
}
// Fetch user
fetch
(
CONFIG
.
apiUrl
+
'
/i
'
,
{
fetch
(
`
${
CONFIG
.
apiUrl
}
/i
`
,
{
method
:
'
POST
'
,
body
:
JSON
.
stringify
({
i
:
token
...
...
@@ -159,6 +159,17 @@ function fetchme(token, cb) {
function
panic
(
e
)
{
console
.
error
(
e
);
document
.
body
.
innerHTML
=
'
<div id="error"><p>致命的な問題が発生しました。</p></div>
'
;
document
.
body
.
innerHTML
=
`<div id="error">
<h1>:( 致命的な問題が発生しました。</h1>
<p>お使いのブラウザ(またはOS)のバージョンを更新すると解決する可能性があります。</p>
<hr>
<p>エラーコード:
${
e
.
toString
()}
</p>
<p>ブラウザ バージョン:
${
navigator
.
userAgent
}
</p>
<p>クライアント バージョン:
${
VERSION
}
</p>
<hr>
<p>問題が解決しない場合は上記の情報をお書き添えの上 syuilotan@yahoo.co.jp までご連絡ください。</p>
<p>Thank you for using Misskey.</p>
</div>`
;
// TODO: Report the bug
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment