We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71dc0e0 commit f0ead38Copy full SHA for f0ead38
1 file changed
api/projects/tasks.go
@@ -53,7 +53,9 @@ func AddTask(w http.ResponseWriter, r *http.Request) {
53
if errors.Is(err, common_errors.ErrInvalidSubscription) {
54
helpers.WriteErrorStatus(w, "No active subscription available.", http.StatusForbidden)
55
return
56
- } else if err != nil {
+ }
57
+
58
+ if err != nil {
59
log.WithFields(log.Fields{
60
"context": "AddTask",
61
"project_id": project.ID,
0 commit comments