This repository has been archived by the owner on Oct 24, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This handles both non-responses and non-success responses when attempting a Sword transfer. closes #114
- Loading branch information
Showing
4 changed files
with
81 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
@***************************************************************************** | ||
* Email template used to notify sysadmins of harvest start failures * | ||
* Copyright (c) 2015 MIT Libraries * | ||
*****************************************************************************@ | ||
@(item: Item, channel: Channel, trans: Transfer, error: String) | ||
An error occurred attempting to deliver a Sword package: | ||
|
||
Channel: | ||
@channel.channelUrl | ||
@channel.description | ||
|
||
Subscriber: | ||
@Subscriber.findById(trans.subscriberId).get.name | ||
|
||
Link to Item: http://scoap3.topichub.org/item/@item.id | ||
|
||
Exception text: | ||
@error |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters