summaryrefslogtreecommitdiffstats
path: root/app/saml.go
diff options
context:
space:
mode:
authorChristopher Speller <crspeller@gmail.com>2017-03-16 17:00:00 -0400
committerCorey Hulen <corey@hulen.com>2017-03-16 14:00:00 -0700
commit9298315ce925afeb7824980e337633e3787643cd (patch)
tree2a15d3a62add27441e3c8d99a0b0cde566cded84 /app/saml.go
parent05e3dc9f2a352d053654fe0efa99de0a74fd566a (diff)
downloadchat-9298315ce925afeb7824980e337633e3787643cd.tar.gz
chat-9298315ce925afeb7824980e337633e3787643cd.tar.bz2
chat-9298315ce925afeb7824980e337633e3787643cd.zip
Fxing code coverage numbers + APIv4 tests with EE (#5789)
Diffstat (limited to 'app/saml.go')
-rw-r--r--app/saml.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/saml.go b/app/saml.go
index 444214302..92f0e1f0e 100644
--- a/app/saml.go
+++ b/app/saml.go
@@ -22,7 +22,7 @@ func GetSamlMetadata() (string, *model.AppError) {
}
if result, err := samlInterface.GetMetadata(); err != nil {
- return "", model.NewAppError("GetSamlMetadata", "api.admin.saml.metadata.app_error", nil, "err="+err.Message, http.StatusInternalServerError)
+ return "", model.NewAppError("GetSamlMetadata", "api.admin.saml.metadata.app_error", nil, "err="+err.Message, err.StatusCode)
} else {
return result, nil
}