Skip to content

Commit

Permalink
Add in default, per PR comment
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisronline committed Nov 18, 2019
1 parent 45c6da9 commit cf4e0e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

export function detectReasonFromException(exception) {
const reason = {};
const reason = { correctIndexName: true };

if (exception) {
if (exception.status === 400 && exception.message.indexOf('Fielddata is disabled on text fields by default') > -1) {
Expand Down

0 comments on commit cf4e0e3

Please sign in to comment.