Sentry report: nil dereference in app.SyncPlugins

Description

  1.  

    1.  

      1. New server error
        runtime.errorString: runtime error: invalid memory address or nil pointer dereference

        1. Project
          mattermost-server
          Culprit: github.com/mattermost/mattermost-server/v5/app in (*App).SyncPlugins

        2. Link:
          https://sentry.io/organizations/mattermost-mr/issues/1901699724/?referrer=webhooks_plugin

Issue created from a message in Mattermost.

QA Test Steps

Trying to add a plugin without a plugin.json file should not cause any panics on server.

Mana

None

Assignee

Ibrahim Acikgoz

QA Assignee

None

Reporter

Agniva De Sarker

Epic Link

Fix versions

Mattermost Team

Server

Sprint

None

Labels

None

QA Testing Areas

Plugins

GitHub Issue

None

Components

None

Severity

None
Configure