|
@@ -132,6 +132,13 @@ class DatabaseBackedProjectService(ProjectService):
|
|
sender=self.create_project_for_organization,
|
|
sender=self.create_project_for_organization,
|
|
user_id=user_id,
|
|
user_id=user_id,
|
|
)
|
|
)
|
|
|
|
+ # Add electron symbol server by default to both electron and javascript-electron projects
|
|
|
|
+ if platform and platform.endswith("electron"):
|
|
|
|
+ symbol_sources = ProjectOption.objects.get_value(
|
|
|
|
+ project=project, key="sentry:builtin_symbol_sources"
|
|
|
|
+ )
|
|
|
|
+ symbol_sources.append("electron")
|
|
|
|
+ project.update_option("sentry:builtin_symbol_sources", symbol_sources)
|
|
|
|
|
|
return serialize_project(project)
|
|
return serialize_project(project)
|
|
|
|
|