From 4500eb78e3ff53015b9f190765f5d816c1131ecf Mon Sep 17 00:00:00 2001 From: RiabushenkoA Date: Thu, 9 Oct 2025 12:28:53 +0300 Subject: [PATCH] Maintenance release: Blackbird SDK dependency updates (no action required) --- Apps.Drupal/Actions/JobActions.cs | 2 +- Apps.Drupal/Api/ApiClient.cs | 3 ++- Apps.Drupal/Apps.Drupal.csproj | 6 +++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Apps.Drupal/Actions/JobActions.cs b/Apps.Drupal/Actions/JobActions.cs index 32b4af7..10760bc 100644 --- a/Apps.Drupal/Actions/JobActions.cs +++ b/Apps.Drupal/Actions/JobActions.cs @@ -15,7 +15,7 @@ namespace Apps.Drupal.Actions; -[ActionList] +[ActionList("Job")] public class JobActions(InvocationContext invocationContext, IFileManagementClient fileManagementClient) : AppInvocable(invocationContext) { [Action("Search jobs", Description = "Get jobs by specified search parameters")] diff --git a/Apps.Drupal/Api/ApiClient.cs b/Apps.Drupal/Api/ApiClient.cs index e90fc2e..590754a 100644 --- a/Apps.Drupal/Api/ApiClient.cs +++ b/Apps.Drupal/Api/ApiClient.cs @@ -2,6 +2,7 @@ using System.Web; using Apps.Drupal.Constants; using Blackbird.Applications.Sdk.Common.Authentication; +using Blackbird.Applications.Sdk.Common.Exceptions; using Blackbird.Applications.Sdk.Utils.Extensions.Sdk; using Blackbird.Applications.Sdk.Utils.RestSharp; using RestSharp; @@ -32,7 +33,7 @@ protected override Exception ConfigureErrorException(RestResponse response) errorMessage += $", Error: {response.StatusDescription}"; } - return new Exception(errorMessage); + throw new PluginApplicationException(errorMessage); } private string ExtractErrorMessage(string content, string? contentType) diff --git a/Apps.Drupal/Apps.Drupal.csproj b/Apps.Drupal/Apps.Drupal.csproj index a54b45b..afb975c 100644 --- a/Apps.Drupal/Apps.Drupal.csproj +++ b/Apps.Drupal/Apps.Drupal.csproj @@ -6,21 +6,21 @@ enable Drupal Drupal is a free, open-source content management system (CMS) with a large, supportive community. It’s used by millions of people and organizations around the globe to build and maintain their websites. - 1.0.3 + 1.0.4 Apps.Drupal Apps.Drupal Apps.Drupal - + - +