Skip to content

Commit 0a33dd0

Browse files
committed
add catch
1 parent d01a1df commit 0a33dd0

File tree

5 files changed

+59
-199
lines changed

5 files changed

+59
-199
lines changed

Gemfile.lock

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ GEM
124124
json (2.1.0)
125125
launchy (2.4.3)
126126
addressable (~> 2.3)
127-
libv8 (6.3.292.48.1)
127+
libv8 (6.7.288.46.1)
128128
listen (3.1.5)
129129
rb-fsevent (~> 0.9, >= 0.9.4)
130130
rb-inotify (~> 0.9, >= 0.9.7)
@@ -140,8 +140,8 @@ GEM
140140
mimemagic (0.3.2)
141141
mini_mime (1.0.0)
142142
mini_portile2 (2.3.0)
143-
mini_racer (0.1.15)
144-
libv8 (~> 6.3)
143+
mini_racer (0.2.4)
144+
libv8 (>= 6.3)
145145
minitest (5.11.3)
146146
multi_json (1.13.1)
147147
nio4r (2.3.1)
@@ -365,7 +365,7 @@ DEPENDENCIES
365365
webpacker
366366

367367
RUBY VERSION
368-
ruby 2.5.2p104
368+
ruby 2.6.1p33
369369

370370
BUNDLED WITH
371-
1.17.1
371+
1.17.3

client/app/bundles/comments/components/SimpleHooksCommentScreen/SimpleHooksCommentScreen.jsx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,12 @@ export default class I18nWrapper extends BaseComponent {
103103
this.setState({ locale });
104104
}
105105

106+
componentDidCatch(error, info) {
107+
console.log("xxxxxxxxxxxx")
108+
console.log(error, info);
109+
console.log("xxxxxxxxxxxx")
110+
}
111+
106112
render() {
107113
const { locale } = this.state;
108114
const messages = translations[locale];

client/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@
7373
"loader-utils": "^1.1.0",
7474
"lodash": "^4.17.4",
7575
"marked": "^0.3.6",
76-
"node-sass": "^4.7.2",
76+
"node-sass": "^4.11.0",
7777
"node-uuid": "^1.4.8",
7878
"postcss-loader": "^2.0.8",
7979
"prop-types": "^15.6.0",
80-
"react": "^16.8.0-alpha.0",
80+
"react": "^16.8.4",
8181
"react-addons-css-transition-group": "^15.6.2",
8282
"react-bootstrap": "^0.31.5",
83-
"react-dom": "^16.8.0-alpha.0",
83+
"react-dom": "^16.8.4",
8484
"react-intl": "^2.4.0",
8585
"react-on-rails": "11.0.7",
8686
"react-redux": "^5.0.6",
@@ -132,4 +132,4 @@
132132
"^.+\\.jsx?$": "babel-jest"
133133
}
134134
}
135-
}
135+
}

0 commit comments

Comments
 (0)