test #31
|
@ -1,4 +1,4 @@
|
||||||
hedera-web (23.6.8) stable; urgency=low
|
hedera-web (23.6.9) stable; urgency=low
|
||||||
|
|
||||||
* Initial Release.
|
* Initial Release.
|
||||||
|
|
||||||
|
|
|
@ -21,6 +21,9 @@ services:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == worker
|
- node.role == worker
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 2G
|
||||||
cron:
|
cron:
|
||||||
image: registry.verdnatura.es/hedera-web:${BRANCH_NAME:?}
|
image: registry.verdnatura.es/hedera-web:${BRANCH_NAME:?}
|
||||||
command: 'cron -f'
|
command: 'cron -f'
|
||||||
|
@ -35,6 +38,9 @@ services:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.role == worker
|
- node.role == worker
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
memory: 1G
|
||||||
configs:
|
configs:
|
||||||
config:
|
config:
|
||||||
external: true
|
external: true
|
||||||
|
|
|
@ -238,9 +238,10 @@ module.exports = new Class({
|
||||||
if (err instanceof Vn.JsonException) {
|
if (err instanceof Vn.JsonException) {
|
||||||
const statusCode = err.statusCode;
|
const statusCode = err.statusCode;
|
||||||
if (statusCode >= 400 && statusCode < 500) {
|
if (statusCode >= 400 && statusCode < 500) {
|
||||||
if (err.statusCode == 403)
|
if (err.statusCode == 403) {
|
||||||
Htk.Toast.showError(_('You don\'t have enough privileges'));
|
Htk.Toast.showError(err.message ||
|
||||||
else {
|
_('You don\'t have enough privileges'));
|
||||||
|
} else {
|
||||||
switch (err.exception) {
|
switch (err.exception) {
|
||||||
case 'UserDisabledError':
|
case 'UserDisabledError':
|
||||||
case 'OutdatedVersionError':
|
case 'OutdatedVersionError':
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "hedera-web",
|
"name": "hedera-web",
|
||||||
"version": "23.6.8",
|
"version": "23.6.9",
|
||||||
"description": "Verdnatura web page",
|
"description": "Verdnatura web page",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
|
|
Loading…
Reference in New Issue