/// <summary> /// 'Cancel/Abort' of the solution. /// When a build is being cancelled. /// </summary> /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns> public int onCancel() { try { return(link.onCancel()); } catch (Exception ex) { Log.Error("[Client library] Failed onCancel: '{0}'", ex.Message); } return(Codes.Failed); }
/// <summary> /// 'Cancel/Abort' of the solution. /// When a build is being cancelled. /// </summary> /// <returns>If the method succeeds, it returns Codes.Success. If it fails, it returns an error code.</returns> public int onCancel() { try { return(link.onCancel()); } catch (Exception ex) { Log.Error($"[Client library] Failed onCancel: {ex.Message}"); Log.Debug(ex.StackTrace); } return(Codes.Failed); }